{% extends 'home.html' %} }}
{% block img_set %}
<h1 class="text-center" style="color: #5cb85c">修改头像</h1>
<div >
  <div class="row">
      <div class="col-md-8 col-md-offset-2">
          <img src="/media/{{ request.user.avatar }}" alt="..." class="img-circle right"  width="300px" style="float:left" >
      </div>
      <div class="col-md-4">
        <label for="my_file_img" >
            <img src="/media/{{ request.user.avatar }}" alt="..." class="img-circle" width="300px" style="float:left">
        </label>
        <input type="file" id="my_file_img" style="display: none;">
      </div>
  </div>
</div>
{% endblock img_set %}
